<#include "/component/pagination.html" />
<script>
	$("#checkAllLuns").checkall({itemName : "lunId"});
</script>
<div class="master-group">
    <div class="masg-totle"><span class="masg-title-controller" id="hostGroupName"></span><@spring.message code='lun.mapping.list'/></div>
	<div class="masg-anniu">
       	<a class="btn btn-default" href="javascript:void(0);" onclick="main.midunmapping();"><@spring.message code='button.remove'/></a>
    </div>
</div>
<table class="table table-striped table-hover">
	<thead>
		<tr>
			<th width="3%" scope="col"><input
				id="checkAllLuns" type="checkbox" value="" /></th>
			<th width="20%" scope="col"><@spring.message code='lun.pool_name'/></th>
			<th width="20%" scope="col"><@spring.message code='lun.lun_name'/></th>
			<!-- <th width="15%" scope="col">Creator</th> -->
			<th width="30%" scope="col"><@spring.message code='lun.createtime'/></th>
			<!-- <th width="20%" scope="col">Lun SN</th>
			<th width="20%" scope="col">Lun ISCSI</th> -->
			<th width="15%" scope="col"><@spring.message code='lun.size'/> (MB)</th>
		</tr>
	</thead>
	<tbody>
		<#list pager.list as item>
		<!--  <#if item.type != 1>  -->
			<tr <#if ((item_index+1) % 2 == 0) >class="oddrow"</#if>>
				<td class="c"><input name="lunId" type="checkbox" value="${item.id!}" /></td>
		        <td>${item.poolName!}</td>
		        <td>${item.name!}</td>
		        <!-- <td>${item.username!}</td> -->
	            <td>${item.createTime?datetime}</td>
		        <!-- <td>${item.lunSn!}</td>
		        <td>${item.lunIscsi!}</td> -->
		        <td>${item.size!}</td>
		        
		    </tr>
		 <!-- </#if>  -->
		</#list>
	</tbody>
</table>
<@pagination selectSize=false/> 